// news-system-modern/src/components/sandbox/SideMenu.scss
.logo {
  height: 32px;
  margin: 16px;
  background: rgba(255, 255, 255, 0.3);
  color: white;
  line-height: 32px;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  border-radius: 6px;
  user-select: none;
}

/* 确保内容区域可滚动 */
.ant-layout-sider-children {
  display: flex;
  flex-direction: column;
  height: 100%;
  
  .ant-menu {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
  }
}

.logo-container {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #002140;
  
  h1 {
    color: white;
    font-size: 18px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 16px;
  }
}

/* 修改菜单样式 */
.ant-menu-dark .ant-menu-inline.ant-menu-sub {
  background: #000c17;
}

.ant-menu-dark.ant-menu-inline .ant-menu-item {
  margin-top: 4px;
  margin-bottom: 4px;
}

/* 滚动条样式优化 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}